package com.lyf.task.service;

import java.util.List;

import com.lyf.task.domain.Product;

public interface ProductService {

	List<Product> getAllProduct();

	Product getOneProduct(String pid);

	List<Product> searchByName(String name);

	void insertProduct(Product product);

	void updateProduct(Product product);

}
